﻿<UserControl xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"  x:Class="GraphDrawer.setupSimulation"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:m="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls.WatermarkedTextBox"
    Width="610" Height="580">
    <Grid x:Name="LayoutRoot" Background="White" ShowGridLines="False" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="40"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="40"></ColumnDefinition>
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="*" />
            <RowDefinition Height="40" />
        </Grid.RowDefinitions>

        <StackPanel Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left">
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="Simulation Steps:" Margin="0,3,41,0" ></TextBlock>
                <m:WatermarkedTextBox  x:Name="Steps" Height="20" Width="90" Margin="10,0,0,0" Watermark="Number of max steps" Text="500" TextChanged="Steps_TextChanged"></m:WatermarkedTextBox>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="0,3,0,0" Visibility="Collapsed">
                <TextBlock Text="Available vaccines count:" Margin="0,3,0,0" ></TextBlock>
                <TextBox x:Name="vaccines" Height="20" Width="90" Margin="10,0,0,0" TextChanged="vaccines_TextChanged"></TextBox>
            </StackPanel>
            <TextBlock Margin="0,20,0,0">
            Choose state change strategy:
            </TextBlock>
            <ComboBox x:Name="inculationChooser" SelectionChanged="inculationChooser_SelectionChanged"></ComboBox>
            <Button x:Name="btnChangePlan" Height="20" Width="50" Margin="0,10,0,0" Content="Add" IsEnabled="False" Click="btnChangePlan_Click" />
            <StackPanel Name="strategies" Margin="0,20,0,0">
            
            </StackPanel>
            <TextBlock Name="statesLabel" Margin="0,20,0,0" Visibility="Collapsed">
			Type numbers of nodes of each state:
            </TextBlock>
            <StackPanel Orientation="Horizontal" Margin="0,3,0,0">
                <StackPanel Name="statesNamesPanel"></StackPanel>
                <StackPanel Name="statesCountPanel" Margin="5,0,0,0"></StackPanel>
            </StackPanel>

            <Canvas x:Name="PercentOfAction">

            </Canvas>
        </StackPanel>

    </Grid>
</UserControl>
